## 吴洪波
## 修复合同表单解析---耗时：1035s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/repairContractExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复销售出库单解析---耗时：188s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/repairContractOutstockExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复出库单发货单解析---耗时：80s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/repairOrderOutStockExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复订货单模板解析---耗时：90s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/repairDistributorOrderExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 更新所有合同的默认数据---耗时：3272s
SET SQL_SAFE_UPDATES = 0;
update tb_saas_contract,(select id,JSON_SET(data, '$.num_61', 0,'$.num_62',0) as new_data from tb_saas_contract) as result
set data = result.new_data where result.id = tb_saas_contract.id;

curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/updateAllContractDefaultData -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复合同历史数据---耗时：399s
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/repairContractData -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'



## ========================== 注意！！以下是回退脚本

## 吴洪波
## 修复合同表单解析
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/rollBackContractExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复销售出库单解析
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/rollBackContractOutstockExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复出库单发货单解析
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/rollBackOrderOutStockExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

## 吴洪波
## 修复订货单模板解析
curl http://playbackjobs.xbongbong.com.cn/pro/v1/script/outstockAndContractAmount/rollBackDistributorOrderExplain -X POST -H "Content-type: application/json" -d '{"corpid":"1","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'
